/**
 * Copyright (c) 2013-Now http://jeesite.com All rights reserved.
 */
package com.jeesite.modules.ad.dao;

import org.apache.ibatis.annotations.Param;

import com.jeesite.common.dao.CrudDao;
import com.jeesite.common.mybatis.annotation.MyBatisDao;
import com.jeesite.modules.ad.entity.AdGuest;

/**
 * 广告获客DAO接口
 * 
 * @author Liu,Wenzhao
 * @version 2019-04-17
 */
@MyBatisDao
public interface AdGuestDao extends CrudDao<AdGuest> {

	/**
	 * 查询代理商所有获客量
	 * 
	 * @param id 代理商id
	 * @return
	 */
	long findCountAll(@Param("id") String id);

}